<!DOCTYPE html>
<html lang="en-US">
<head>
    <meta charset="UTF-8"/>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="language" content="en" />
        <link href="./assets/ffd55088/css/bootstrap.css" rel="stylesheet">
<link href="./assets/5cf9384a/solarized_light.css" rel="stylesheet">
<link href="./assets/6c54116e/style.css" rel="stylesheet">
<script src="./assets/a44cef0f/jquery.js"></script>
<script src="./assets/ffd55088/js/bootstrap.js"></script>
<script src="./assets/8ac4e28a/jssearch.js"></script>    <title>ApiMarkdown, yii\apidoc\helpers\ApiMarkdown - Yii Framework 2.0 API Documentation</title>
</head>
<body>

<div class="wrap">
    <nav id="w11103" class="navbar-inverse navbar-fixed-top navbar" role="navigation"><div class="navbar-header"><button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#w11103-collapse"><span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span></button><a class="navbar-brand" href="./index.html">Yii Framework 2.0 API Documentation</a></div><div id="w11103-collapse" class="collapse navbar-collapse"><ul id="w11104" class="navbar-nav nav"><li><a href="./index.html">Class reference</a></li>
<li class="dropdown"><a class="dropdown-toggle" href="#" data-toggle="dropdown">Extensions <b class="caret"></b></a><ul id="w11105" class="dropdown-menu"><li><a href="./ext-apidoc-index.html" tabindex="-1">apidoc</a></li>
<li><a href="./ext-authclient-index.html" tabindex="-1">authclient</a></li>
<li><a href="./ext-bootstrap-index.html" tabindex="-1">bootstrap</a></li>
<li><a href="./ext-codeception-index.html" tabindex="-1">codeception</a></li>
<li><a href="./ext-debug-index.html" tabindex="-1">debug</a></li>
<li><a href="./ext-elasticsearch-index.html" tabindex="-1">elasticsearch</a></li>
<li><a href="./ext-faker-index.html" tabindex="-1">faker</a></li>
<li><a href="./ext-gii-index.html" tabindex="-1">gii</a></li>
<li><a href="./ext-imagine-index.html" tabindex="-1">imagine</a></li>
<li><a href="./ext-jui-index.html" tabindex="-1">jui</a></li>
<li><a href="./ext-mongodb-index.html" tabindex="-1">mongodb</a></li>
<li><a href="./ext-redis-index.html" tabindex="-1">redis</a></li>
<li><a href="./ext-smarty-index.html" tabindex="-1">smarty</a></li>
<li><a href="./ext-sphinx-index.html" tabindex="-1">sphinx</a></li>
<li><a href="./ext-swiftmailer-index.html" tabindex="-1">swiftmailer</a></li>
<li><a href="./ext-twig-index.html" tabindex="-1">twig</a></li></ul></li>
<li><a href="./guide-README.html">Guide</a></li></ul><div class="navbar-form navbar-left" role="search">
  <div class="form-group">
    <input id="searchbox" type="text" class="form-control" placeholder="Search">
  </div>
</div>
</div></nav>
    <div id="search-resultbox" style="display: none;" class="modal-content">
        <ul id="search-results">
        </ul>
    </div>

    
<div class="row">
    <div class="col-md-3">
                <div id="navigation" class="list-group"><a class="list-group-item" href="#navigation-11092" data-toggle="collapse" data-parent="#navigation">yii\apidoc\commands <b class="caret"></b></a><div id="navigation-11092" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-apidoc-commands-apicontroller.html">ApiController</a>
<a class="list-group-item" href="./yii-apidoc-commands-guidecontroller.html">GuideController</a></div>
<a class="list-group-item" href="#navigation-11093" data-toggle="collapse" data-parent="#navigation">yii\apidoc\components <b class="caret"></b></a><div id="navigation-11093" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-apidoc-components-basecontroller.html">BaseController</a></div>
<a class="list-group-item active" href="#navigation-11094" data-toggle="collapse" data-parent="#navigation">yii\apidoc\helpers <b class="caret"></b></a><div id="navigation-11094" class="submenu panel-collapse collapse in"><a class="list-group-item" href="./yii-apidoc-helpers-apiindexer.html">ApiIndexer</a>
<a class="list-group-item active" href="./yii-apidoc-helpers-apimarkdown.html">ApiMarkdown</a>
<a class="list-group-item" href="./yii-apidoc-helpers-apimarkdownlatex.html">ApiMarkdownLaTeX</a>
<a class="list-group-item" href="./yii-apidoc-helpers-apimarkdowntrait.html">ApiMarkdownTrait</a>
<a class="list-group-item" href="./yii-apidoc-helpers-indexfileanalyzer.html">IndexFileAnalyzer</a>
<a class="list-group-item" href="./yii-apidoc-helpers-prettyprinter.html">PrettyPrinter</a></div>
<a class="list-group-item" href="#navigation-11095" data-toggle="collapse" data-parent="#navigation">yii\apidoc\models <b class="caret"></b></a><div id="navigation-11095" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-apidoc-models-basedoc.html">BaseDoc</a>
<a class="list-group-item" href="./yii-apidoc-models-classdoc.html">ClassDoc</a>
<a class="list-group-item" href="./yii-apidoc-models-constdoc.html">ConstDoc</a>
<a class="list-group-item" href="./yii-apidoc-models-context.html">Context</a>
<a class="list-group-item" href="./yii-apidoc-models-eventdoc.html">EventDoc</a>
<a class="list-group-item" href="./yii-apidoc-models-functiondoc.html">FunctionDoc</a>
<a class="list-group-item" href="./yii-apidoc-models-interfacedoc.html">InterfaceDoc</a>
<a class="list-group-item" href="./yii-apidoc-models-methoddoc.html">MethodDoc</a>
<a class="list-group-item" href="./yii-apidoc-models-paramdoc.html">ParamDoc</a>
<a class="list-group-item" href="./yii-apidoc-models-propertydoc.html">PropertyDoc</a>
<a class="list-group-item" href="./yii-apidoc-models-traitdoc.html">TraitDoc</a>
<a class="list-group-item" href="./yii-apidoc-models-typedoc.html">TypeDoc</a></div>
<a class="list-group-item" href="#navigation-11096" data-toggle="collapse" data-parent="#navigation">yii\apidoc\renderers <b class="caret"></b></a><div id="navigation-11096" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-apidoc-renderers-apirenderer.html">ApiRenderer</a>
<a class="list-group-item" href="./yii-apidoc-renderers-baserenderer.html">BaseRenderer</a>
<a class="list-group-item" href="./yii-apidoc-renderers-guiderenderer.html">GuideRenderer</a></div>
<a class="list-group-item" href="#navigation-11097" data-toggle="collapse" data-parent="#navigation">yii\apidoc\templates\bootstrap <b class="caret"></b></a><div id="navigation-11097" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-apidoc-templates-bootstrap-apirenderer.html">ApiRenderer</a>
<a class="list-group-item" href="./yii-apidoc-templates-bootstrap-guiderenderer.html">GuideRenderer</a>
<a class="list-group-item" href="./yii-apidoc-templates-bootstrap-renderertrait.html">RendererTrait</a>
<a class="list-group-item" href="./yii-apidoc-templates-bootstrap-sidenavwidget.html">SideNavWidget</a></div>
<a class="list-group-item" href="#navigation-11098" data-toggle="collapse" data-parent="#navigation">yii\apidoc\templates\bootstrap\assets <b class="caret"></b></a><div id="navigation-11098" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-apidoc-templates-bootstrap-assets-assetbundle.html">AssetBundle</a>
<a class="list-group-item" href="./yii-apidoc-templates-bootstrap-assets-highlightbundle.html">HighlightBundle</a>
<a class="list-group-item" href="./yii-apidoc-templates-bootstrap-assets-jssearchasset.html">JsSearchAsset</a></div>
<a class="list-group-item" href="#navigation-11099" data-toggle="collapse" data-parent="#navigation">yii\apidoc\templates\html <b class="caret"></b></a><div id="navigation-11099" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-apidoc-templates-html-apirenderer.html">ApiRenderer</a>
<a class="list-group-item" href="./yii-apidoc-templates-html-guiderenderer.html">GuideRenderer</a></div>
<a class="list-group-item" href="#navigation-11100" data-toggle="collapse" data-parent="#navigation">yii\apidoc\templates\json <b class="caret"></b></a><div id="navigation-11100" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-apidoc-templates-json-apirenderer.html">ApiRenderer</a></div>
<a class="list-group-item" href="#navigation-11101" data-toggle="collapse" data-parent="#navigation">yii\apidoc\templates\online <b class="caret"></b></a><div id="navigation-11101" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-apidoc-templates-online-apirenderer.html">ApiRenderer</a></div>
<a class="list-group-item" href="#navigation-11102" data-toggle="collapse" data-parent="#navigation">yii\apidoc\templates\pdf <b class="caret"></b></a><div id="navigation-11102" class="submenu panel-collapse collapse"><a class="list-group-item" href="./yii-apidoc-templates-pdf-guiderenderer.html">GuideRenderer</a></div></div>    </div>
    <div class="col-md-9 api-content" role="main">
        <h1>Class yii\apidoc\helpers\ApiMarkdown</h1>
<div class="top-nav">
    <a href="index.html">All Classes</a>
            | <a href="#properties">Properties</a>
                | <a href="#methods">Methods</a>
            </div>

<table class="summaryTable docClass table table-bordered">
    <colgroup>
        <col class="col-name" />
        <col class="col-value" />
    </colgroup>
            <tr><th>Inheritance</th><td><a href="yii-apidoc-helpers-apimarkdown.html">yii\apidoc\helpers\ApiMarkdown</a> &raquo;
cebe\markdown\GithubMarkdown</td></tr>
                        <tr><th>Uses Traits</th><td><a href="yii-apidoc-helpers-apimarkdowntrait.html">yii\apidoc\helpers\ApiMarkdownTrait</a></td></tr>
                            <tr><th>Available since version</th><td>2.0</td></tr>
                    <tr>
          <th>Source Code</th>
          <td><a href="https://github.com/yiisoft/yii2-apidoc/blob/master/helpers/ApiMarkdown.php">https://github.com/yiisoft/yii2-apidoc/blob/master/helpers/ApiMarkdown.php</a></td>
        </tr>
    </table>

<div class="class-description">
    <p><strong>A Markdown helper with support for class reference links.</strong></p>
    
    </div>

<a id="properties"></a>

<div class="summary doc-property">
<h2>Public Properties</h2>

<p><a href="#" class="toggle">Hide inherited properties</a></p>

<table class="summary-table table table-striped table-bordered table-hover">
<colgroup>
    <col class="col-property" />
    <col class="col-type" />
    <col class="col-description" />
    <col class="col-defined" />
</colgroup>
<tr>
  <th>Property</th><th>Type</th><th>Description</th><th>Defined By</th>
</tr>
        <tr id="$blockTranslations">
        <td><a href="yii-apidoc-helpers-apimarkdown.html#$blockTranslations-detail">$blockTranslations</a></td>
        <td><a href="http://www.php.net/language.types.array">array</a></td>
        <td>Translation for guide block types</td>
        <td><a href="yii-apidoc-helpers-apimarkdown.html">yii\apidoc\helpers\ApiMarkdown</a></td>
    </tr>
                <tr id="$renderer">
        <td><a href="yii-apidoc-helpers-apimarkdown.html#$renderer-detail">$renderer</a></td>
        <td><a href="yii-apidoc-renderers-baserenderer.html">yii\apidoc\renderers\BaseRenderer</a></td>
        <td></td>
        <td><a href="yii-apidoc-helpers-apimarkdown.html">yii\apidoc\helpers\ApiMarkdown</a></td>
    </tr>
        </table>
</div>

<div class="summary doc-property">
<h2>Protected Properties</h2>

<p><a href="#" class="toggle">Hide inherited properties</a></p>

<table class="summary-table table table-striped table-bordered table-hover">
<colgroup>
    <col class="col-property" />
    <col class="col-type" />
    <col class="col-description" />
    <col class="col-defined" />
</colgroup>
<tr>
  <th>Property</th><th>Type</th><th>Description</th><th>Defined By</th>
</tr>
            <tr id="$headings">
        <td><a href="yii-apidoc-helpers-apimarkdown.html#$headings-detail">$headings</a></td>
        <td></td>
        <td></td>
        <td><a href="yii-apidoc-helpers-apimarkdown.html">yii\apidoc\helpers\ApiMarkdown</a></td>
    </tr>
                <tr id="$renderingContext">
        <td><a href="yii-apidoc-helpers-apimarkdown.html#$renderingContext-detail">$renderingContext</a></td>
        <td></td>
        <td></td>
        <td><a href="yii-apidoc-helpers-apimarkdown.html">yii\apidoc\helpers\ApiMarkdown</a></td>
    </tr>
    </table>
</div>

<a id="methods"></a>

<div class="summary doc-method">
<h2>Public Methods</h2>

<p><a href="#" class="toggle">Hide inherited methods</a></p>

<table class="summary-table table table-striped table-bordered table-hover">
<colgroup>
    <col class="col-method" />
    <col class="col-description" />
    <col class="col-defined" />
</colgroup>
<tr>
  <th>Method</th><th>Description</th><th>Defined By</th>
</tr>
                <tr id="getHeadings()">
        <td><a href="yii-apidoc-helpers-apimarkdown.html#getHeadings()-detail">getHeadings()</a></td>
        <td></td>
        <td><a href="yii-apidoc-helpers-apimarkdown.html">yii\apidoc\helpers\ApiMarkdown</a></td>
    </tr>
            <tr id="highlight()">
        <td><a href="yii-apidoc-helpers-apimarkdown.html#highlight()-detail">highlight()</a></td>
        <td>Highlights code</td>
        <td><a href="yii-apidoc-helpers-apimarkdown.html">yii\apidoc\helpers\ApiMarkdown</a></td>
    </tr>
            <tr id="parse()">
        <td><a href="yii-apidoc-helpers-apimarkdown.html#parse()-detail">parse()</a></td>
        <td></td>
        <td><a href="yii-apidoc-helpers-apimarkdown.html">yii\apidoc\helpers\ApiMarkdown</a></td>
    </tr>
                    <tr id="process()">
        <td><a href="yii-apidoc-helpers-apimarkdown.html#process()-detail">process()</a></td>
        <td>Converts markdown into HTML</td>
        <td><a href="yii-apidoc-helpers-apimarkdown.html">yii\apidoc\helpers\ApiMarkdown</a></td>
    </tr>
                                </table>
</div>

<div class="summary doc-method">
<h2>Protected Methods</h2>

<p><a href="#" class="toggle">Hide inherited methods</a></p>

<table class="summary-table table table-striped table-bordered table-hover">
<colgroup>
    <col class="col-method" />
    <col class="col-description" />
    <col class="col-defined" />
</colgroup>
<tr>
  <th>Method</th><th>Description</th><th>Defined By</th>
</tr>
        <tr id="applyToc()">
        <td><a href="yii-apidoc-helpers-apimarkdown.html#applyToc()-detail">applyToc()</a></td>
        <td></td>
        <td><a href="yii-apidoc-helpers-apimarkdown.html">yii\apidoc\helpers\ApiMarkdown</a></td>
    </tr>
            <tr class="inherited" id="consumeQuote()">
        <td><a href="yii-apidoc-helpers-apimarkdowntrait.html#consumeQuote()-detail">consumeQuote()</a></td>
        <td>Consume lines for a blockquote element</td>
        <td><a href="yii-apidoc-helpers-apimarkdowntrait.html">yii\apidoc\helpers\ApiMarkdownTrait</a></td>
    </tr>
                        <tr class="inherited" id="parseApiLinks()">
        <td><a href="yii-apidoc-helpers-apimarkdowntrait.html#parseApiLinks()-detail">parseApiLinks()</a></td>
        <td></td>
        <td><a href="yii-apidoc-helpers-apimarkdowntrait.html">yii\apidoc\helpers\ApiMarkdownTrait</a></td>
    </tr>
            <tr id="prepare()">
        <td><a href="yii-apidoc-helpers-apimarkdown.html#prepare()-detail">prepare()</a></td>
        <td></td>
        <td><a href="yii-apidoc-helpers-apimarkdown.html">yii\apidoc\helpers\ApiMarkdown</a></td>
    </tr>
                <tr class="inherited" id="renderApiLink()">
        <td><a href="yii-apidoc-helpers-apimarkdowntrait.html#renderApiLink()-detail">renderApiLink()</a></td>
        <td>Renders API link</td>
        <td><a href="yii-apidoc-helpers-apimarkdowntrait.html">yii\apidoc\helpers\ApiMarkdownTrait</a></td>
    </tr>
            <tr class="inherited" id="renderBrokenApiLink()">
        <td><a href="yii-apidoc-helpers-apimarkdowntrait.html#renderBrokenApiLink()-detail">renderBrokenApiLink()</a></td>
        <td>Renders API link that is broken i.e. points nowhere</td>
        <td><a href="yii-apidoc-helpers-apimarkdowntrait.html">yii\apidoc\helpers\ApiMarkdownTrait</a></td>
    </tr>
            <tr id="renderCode()">
        <td><a href="yii-apidoc-helpers-apimarkdown.html#renderCode()-detail">renderCode()</a></td>
        <td></td>
        <td><a href="yii-apidoc-helpers-apimarkdown.html">yii\apidoc\helpers\ApiMarkdown</a></td>
    </tr>
            <tr id="renderHeadline()">
        <td><a href="yii-apidoc-helpers-apimarkdown.html#renderHeadline()-detail">renderHeadline()</a></td>
        <td></td>
        <td><a href="yii-apidoc-helpers-apimarkdown.html">yii\apidoc\helpers\ApiMarkdown</a></td>
    </tr>
            <tr id="renderLink()">
        <td><a href="yii-apidoc-helpers-apimarkdown.html#renderLink()-detail">renderLink()</a></td>
        <td></td>
        <td><a href="yii-apidoc-helpers-apimarkdown.html">yii\apidoc\helpers\ApiMarkdown</a></td>
    </tr>
            <tr class="inherited" id="renderQuote()">
        <td><a href="yii-apidoc-helpers-apimarkdowntrait.html#renderQuote()-detail">renderQuote()</a></td>
        <td>Renders a blockquote</td>
        <td><a href="yii-apidoc-helpers-apimarkdowntrait.html">yii\apidoc\helpers\ApiMarkdownTrait</a></td>
    </tr>
            <tr id="translateBlockType()">
        <td><a href="yii-apidoc-helpers-apimarkdown.html#translateBlockType()-detail">translateBlockType()</a></td>
        <td></td>
        <td><a href="yii-apidoc-helpers-apimarkdown.html">yii\apidoc\helpers\ApiMarkdown</a></td>
    </tr>
    </table>
</div>

<a id="events"></a>

<a id="constants"></a>

<h2>Property Details</h2>

<div class="property-doc">

    <div class="detail-header h3" id="$blockTranslations-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-apidoc-helpers-apimarkdown.html#$blockTranslations-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-apidoc/edit/master/helpers/ApiMarkdown.php#L37" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-apidoc/blob/master/helpers/ApiMarkdown.php#L37" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $blockTranslations        <span class="detail-header-tag small">
            public            static                                    property
                            (available since version 2.0.5)
                    </span>
    </div>

    <div class="doc-description">
        <p>Translation for guide block types</p>

            </div>

    <div class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.array">array</a></span> <a href="yii-apidoc-helpers-apimarkdown.html#$blockTranslations-detail">$blockTranslations</a> <span style="color: #0000BB"></span><span style="color: #007700">=&nbsp;[]</span></div>


    <div class="detail-header h3" id="$headings-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-apidoc-helpers-apimarkdown.html#$headings-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-apidoc/edit/master/helpers/ApiMarkdown.php#L40" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-apidoc/blob/master/helpers/ApiMarkdown.php#L40" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $headings        <span class="detail-header-tag small">
            protected                                                property
                    </span>
    </div>

    <div class="doc-description">
        
            </div>

    <div class="signature"><span class="signature-defs">protected</span> <span class="signature-type"></span> <a href="yii-apidoc-helpers-apimarkdown.html#$headings-detail">$headings</a> <span style="color: #0000BB"></span><span style="color: #007700">=&nbsp;[]</span></div>


    <div class="detail-header h3" id="$renderer-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-apidoc-helpers-apimarkdown.html#$renderer-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-apidoc/edit/master/helpers/ApiMarkdown.php#L32" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-apidoc/blob/master/helpers/ApiMarkdown.php#L32" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $renderer        <span class="detail-header-tag small">
            public            static                                    property
                    </span>
    </div>

    <div class="doc-description">
        
            </div>

    <div class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="yii-apidoc-renderers-baserenderer.html">yii\apidoc\renderers\BaseRenderer</a></span> <a href="yii-apidoc-helpers-apimarkdown.html#$renderer-detail">$renderer</a> <span style="color: #0000BB"></span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">null</span></div>


    <div class="detail-header h3" id="$renderingContext-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-apidoc-helpers-apimarkdown.html#$renderingContext-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-apidoc/edit/master/helpers/ApiMarkdown.php#L39" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-apidoc/blob/master/helpers/ApiMarkdown.php#L39" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        $renderingContext        <span class="detail-header-tag small">
            protected                                                property
                    </span>
    </div>

    <div class="doc-description">
        
            </div>

    <div class="signature"><span class="signature-defs">protected</span> <span class="signature-type"></span> <a href="yii-apidoc-helpers-apimarkdown.html#$renderingContext-detail">$renderingContext</a> <span style="color: #0000BB"></span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">null</span></div>

</div>
<h2>Method Details</h2>

<div class="method-doc">

    <div class="detail-header h3" id="applyToc()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-apidoc-helpers-apimarkdown.html#applyToc()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-apidoc/edit/master/helpers/ApiMarkdown.php#L71" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-apidoc/blob/master/helpers/ApiMarkdown.php#L71" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        applyToc()
        <span class="detail-header-tag small">
            protected                                    method
                            (available since version 2.0.5)
                    </span>
    </div>

    <div class="doc-description">
        <p><strong></strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">protected</span> <span class="signature-type">void</span> <strong><a href="yii-apidoc-helpers-apimarkdown.html#applyToc()-detail">applyToc</a></strong> ( <span style="color: #0000BB">$content</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$content</span></td>
                  <td class="param-type-col"></td>
                  <td class="param-desc-col"></td>
                </tr>
                                                </table>

<!--	-->

    <div class="detail-header h3" id="getHeadings()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-apidoc-helpers-apimarkdown.html#getHeadings()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-apidoc/edit/master/helpers/ApiMarkdown.php#L47" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-apidoc/blob/master/helpers/ApiMarkdown.php#L47" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        getHeadings()
        <span class="detail-header-tag small">
            public                                    method
                            (available since version 2.0.5)
                    </span>
    </div>

    <div class="doc-description">
        <p><strong></strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type"><a href="http://www.php.net/language.types.array">array</a></span> <strong><a href="yii-apidoc-helpers-apimarkdown.html#getHeadings()-detail">getHeadings</a></strong> ( )</td></tr>
                                                <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.array">array</a></td>
                  <td class="param-desc-col"><p>The headlines of this document</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="highlight()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-apidoc-helpers-apimarkdown.html#highlight()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-apidoc/edit/master/helpers/ApiMarkdown.php#L129" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-apidoc/blob/master/helpers/ApiMarkdown.php#L129" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        highlight()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Highlights code</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-apidoc-helpers-apimarkdown.html#highlight()-detail">highlight</a></strong> ( <span style="color: #0000BB">$code</span>, <span style="color: #0000BB">$language</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$code</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>Code to highlight</p>
</td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$language</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>Language of the code to highlight</p>
</td>
                </tr>
                                        <tr>
                  <th class="param-name-col">return</th>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"><p>HTML of highlighted code</p>
</td>
                </tr>
                                    </table>

<!--	-->

    <div class="detail-header h3" id="parse()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-apidoc-helpers-apimarkdown.html#parse()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-apidoc/edit/master/helpers/ApiMarkdown.php#L61" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-apidoc/blob/master/helpers/ApiMarkdown.php#L61" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        parse()
        <span class="detail-header-tag small">
            public                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong></strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public</span> <span class="signature-type">void</span> <strong><a href="yii-apidoc-helpers-apimarkdown.html#parse()-detail">parse</a></strong> ( <span style="color: #0000BB">$text</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$text</span></td>
                  <td class="param-type-col"></td>
                  <td class="param-desc-col"></td>
                </tr>
                                                </table>

<!--	-->

    <div class="detail-header h3" id="prepare()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-apidoc-helpers-apimarkdown.html#prepare()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-apidoc/edit/master/helpers/ApiMarkdown.php#L55" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-apidoc/blob/master/helpers/ApiMarkdown.php#L55" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        prepare()
        <span class="detail-header-tag small">
            protected                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong></strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">protected</span> <span class="signature-type">void</span> <strong><a href="yii-apidoc-helpers-apimarkdown.html#prepare()-detail">prepare</a></strong> ( )</td></tr>
            </table>

<!--	-->

    <div class="detail-header h3" id="process()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-apidoc-helpers-apimarkdown.html#process()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-apidoc/edit/master/helpers/ApiMarkdown.php#L220" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-apidoc/blob/master/helpers/ApiMarkdown.php#L220" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        process()
        <span class="detail-header-tag small">
            public                        static            method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong>Converts markdown into HTML</strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">public static</span> <span class="signature-type"><a href="http://www.php.net/language.types.string">string</a></span> <strong><a href="yii-apidoc-helpers-apimarkdown.html#process()-detail">process</a></strong> ( <span style="color: #0000BB">$content</span>, <span style="color: #0000BB">$context&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">null</span>, <span style="color: #0000BB">$paragraph&nbsp;</span><span style="color: #007700">=&nbsp;</span><span style="color: #0000BB">false</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$content</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.string">string</a></td>
                  <td class="param-desc-col"></td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$context</span></td>
                  <td class="param-type-col"><a href="yii-apidoc-models-typedoc.html">yii\apidoc\models\TypeDoc</a></td>
                  <td class="param-desc-col"></td>
                </tr>
                            <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$paragraph</span></td>
                  <td class="param-type-col"><a href="http://www.php.net/language.types.boolean">boolean</a></td>
                  <td class="param-desc-col"></td>
                </tr>
                                                </table>

<!--	-->

    <div class="detail-header h3" id="renderCode()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-apidoc-helpers-apimarkdown.html#renderCode()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-apidoc/edit/master/helpers/ApiMarkdown.php#L95" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-apidoc/blob/master/helpers/ApiMarkdown.php#L95" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        renderCode()
        <span class="detail-header-tag small">
            protected                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong></strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">protected</span> <span class="signature-type">void</span> <strong><a href="yii-apidoc-helpers-apimarkdown.html#renderCode()-detail">renderCode</a></strong> ( <span style="color: #0000BB">$block</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$block</span></td>
                  <td class="param-type-col"></td>
                  <td class="param-desc-col"></td>
                </tr>
                                                </table>

<!--	-->

    <div class="detail-header h3" id="renderHeadline()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-apidoc-helpers-apimarkdown.html#renderHeadline()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-apidoc/edit/master/helpers/ApiMarkdown.php#L153" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-apidoc/blob/master/helpers/ApiMarkdown.php#L153" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        renderHeadline()
        <span class="detail-header-tag small">
            protected                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong></strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">protected</span> <span class="signature-type">void</span> <strong><a href="yii-apidoc-helpers-apimarkdown.html#renderHeadline()-detail">renderHeadline</a></strong> ( <span style="color: #0000BB">$block</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$block</span></td>
                  <td class="param-type-col"></td>
                  <td class="param-desc-col"></td>
                </tr>
                                                </table>

<!--	-->

    <div class="detail-header h3" id="renderLink()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-apidoc-helpers-apimarkdown.html#renderLink()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-apidoc/edit/master/helpers/ApiMarkdown.php#L185" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-apidoc/blob/master/helpers/ApiMarkdown.php#L185" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        renderLink()
        <span class="detail-header-tag small">
            protected                                    method
                    </span>
    </div>

    <div class="doc-description">
        <p><strong></strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">protected</span> <span class="signature-type">void</span> <strong><a href="yii-apidoc-helpers-apimarkdown.html#renderLink()-detail">renderLink</a></strong> ( <span style="color: #0000BB">$block</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$block</span></td>
                  <td class="param-type-col"></td>
                  <td class="param-desc-col"></td>
                </tr>
                                                </table>

<!--	-->

    <div class="detail-header h3" id="translateBlockType()-detail">
        <a href="#" class="tool-link" title="go to top"><span class="glyphicon glyphicon-arrow-up"></span></a>
        <a class="tool-link hash" href="yii-apidoc-helpers-apimarkdown.html#translateBlockType()-detail" title="direct link to this method"><span class="glyphicon icon-hash"></span></a>
                    <a href="https://github.com/yiisoft/yii2-apidoc/edit/master/helpers/ApiMarkdown.php#L201" class="tool-link" title="edit on github"><span class="glyphicon glyphicon-pencil"></span></a>
            <a href="https://github.com/yiisoft/yii2-apidoc/blob/master/helpers/ApiMarkdown.php#L201" class="tool-link" title="view source on github"><span class="glyphicon glyphicon-eye-open"></span></a>
        
        translateBlockType()
        <span class="detail-header-tag small">
            protected                                    method
                            (available since version 2.0.5)
                    </span>
    </div>

    <div class="doc-description">
        <p><strong></strong></p>

        
            </div>

    <table class="detail-table table table-striped table-bordered table-hover">
        <tr><td colspan="3" class="signature"><span class="signature-defs">protected</span> <span class="signature-type">void</span> <strong><a href="yii-apidoc-helpers-apimarkdown.html#translateBlockType()-detail">translateBlockType</a></strong> ( <span style="color: #0000BB">$type</span> )</td></tr>
                                    <tr>
                  <td class="param-name-col"><span style="color: #0000BB">$type</span></td>
                  <td class="param-type-col"></td>
                  <td class="param-desc-col"></td>
                </tr>
                                                </table>

<!--	-->
</div>
        </div>
</div>

<script type="text/javascript">
    /*<![CDATA[*/
    $("a.toggle").on('click', function () {
        var $this = $(this);
        if ($this.hasClass('properties-hidden')) {
            $this.text($this.text().replace(/Show/,'Hide'));
            $this.parents(".summary").find(".inherited").show();
            $this.removeClass('properties-hidden');
        } else {
            $this.text($this.text().replace(/Hide/,'Show'));
            $this.parents(".summary").find(".inherited").hide();
            $this.addClass('properties-hidden');
        }

        return false;
    });
    /*
     $(".sourceCode a.show").toggle(function () {
     $(this).text($(this).text().replace(/show/,'hide'));
     $(this).parents(".sourceCode").find("div.code").show();
     },function () {
     $(this).text($(this).text().replace(/hide/,'show'));
     $(this).parents(".sourceCode").find("div.code").hide();
     });
     $("a.sourceLink").click(function () {
     $(this).attr('target','_blank');
     });
     */
    /*]]>*/
</script>


</div>

<footer class="footer">
        <p class="pull-right"><small>Page generated on Sat, 09 Jul 2016 12:15:53 +0000</small></p>
    Powered by <a href="http://www.yiiframework.com/" rel="external">Yii Framework</a></footer>

<script type="text/javascript">jQuery(document).ready(function () {
    var shiftWindow = function () { scrollBy(0, -50) };
    if (location.hash) setTimeout(shiftWindow, 1);
    window.addEventListener("hashchange", shiftWindow);
var element = document.createElement("script");
element.src = "./jssearch.index.js";
document.body.appendChild(element);

var searchBox = $('#searchbox');

// search when typing in search field
searchBox.on("keyup", function(event) {
    var query = $(this).val();

    if (query == '' || event.which == 27) {
        $('#search-resultbox').hide();
        return;
    } else if (event.which == 13) {
        var selectedLink = $('#search-resultbox a.selected');
        if (selectedLink.length != 0) {
            document.location = selectedLink.attr('href');
            return;
        }
    } else if (event.which == 38 || event.which == 40) {
        $('#search-resultbox').show();

        var selected = $('#search-resultbox a.selected');
        if (selected.length == 0) {
            $('#search-results').find('a').first().addClass('selected');
        } else {
            var next;
            if (event.which == 40) {
                next = selected.parent().next().find('a').first();
            } else {
                next = selected.parent().prev().find('a').first();
            }
            if (next.length != 0) {
                var resultbox = $('#search-results');
                var position = next.position();

//              TODO scrolling is buggy and jumps around
//                resultbox.scrollTop(Math.floor(position.top));
//                console.log(position.top);

                selected.removeClass('selected');
                next.addClass('selected');
            }
        }

        return;
    }
    $('#search-resultbox').show();
    $('#search-results').html('<li><span class="no-results">No results</span></li>');

    var result = jssearch.search(query);

    if (result.length > 0) {
        var i = 0;
        var resHtml = '';

        for (var key in result) {
            if (i++ > 20) {
                break;
            }
            resHtml = resHtml +
            '<li><a href="' + result[key].file.u.substr(3) +'"><span class="title">' + result[key].file.t + '</span>' +
            '<span class="description">' + result[key].file.d + '</span></a></li>';
        }
        $('#search-results').html(resHtml);
    }
});

// hide the search results on ESC
$(document).on("keyup", function(event) { if (event.which == 27) { $('#search-resultbox').hide(); } });
// hide search results on click to document
$(document).bind('click', function (e) { $('#search-resultbox').hide(); });
// except the following:
searchBox.bind('click', function(e) { e.stopPropagation(); });
$('#search-resultbox').bind('click', function(e) { e.stopPropagation(); });

});</script></body>
</html>
